package putao.blocksgame
{
	import flash.geom.Point;

	public class BMath
	{
		public static function getCenterByCoord(col:int, row:int):Point
		{
			var x:Number = ( col + 0.5 ) * BlocksGameEngine.getInstance().getBlockSize();
			var y:Number = ( row + 0.5 ) * BlocksGameEngine.getInstance().getBlockSize();
			return new Point(x, y);
		}
	}
}